import request from '@/utils/request'

// 店铺装修
export function decorationShop(data = {}) {
  return request.post('/enterprise/shop/create', data)
}

// 获取店铺装修草稿
export function getShopDraft(params = {}) {
  return request.get('/enterprise/shop/getShop', { params })
}

// 店铺项目推荐
export function createShopProject(data = {}) {
  return request.post('/enterprise/shop/project/create', data)
}

// 获取店铺项目推荐或者草稿数据
export function getShopProjectList(data = {}) {
  return request.post('/enterprise/shop/project/list', data)
}

// 删除店铺项目推荐
export function deleteShopProject(params = {}) {
  return request.get('/enterprise/shop/product/delete', { params })
}

// 根据门店id批量查询门店信息
export function getShopListByShopId(data = {}) {
  return request.post('/enterprise/shop/getShopById', data)
}

